\doxysection{C\+:/\+Users/\+ASUS/\+Desktop/dm-\/ctrl\+H7-\/balance-\/9025test/\+Core/\+Inc/main.h File Reference}
\hypertarget{main_8h}{}\label{main_8h}\index{C:/Users/ASUS/Desktop/dm-\/ctrlH7-\/balance-\/9025test/Core/Inc/main.h@{C:/Users/ASUS/Desktop/dm-\/ctrlH7-\/balance-\/9025test/Core/Inc/main.h}}


\+: Header for \doxylink{main_8c}{main.\+c} file. This file contains the common defines of the application.  


{\ttfamily \#include "{}stm32h7xx\+\_\+hal.\+h"{}}\newline
\doxysubsubsection*{Macros}
\begin{DoxyCompactItemize}
\item 
\Hypertarget{main_8h_ac7f512427135bba4c45e1460b1929ba0}\label{main_8h_ac7f512427135bba4c45e1460b1929ba0} 
\#define {\bfseries ACC\+\_\+\+CS\+\_\+\+Pin}~GPIO\+\_\+\+PIN\+\_\+0
\item 
\Hypertarget{main_8h_a568d691bf040d5a2c3321c398178156d}\label{main_8h_a568d691bf040d5a2c3321c398178156d} 
\#define {\bfseries ACC\+\_\+\+CS\+\_\+\+GPIO\+\_\+\+Port}~GPIOC
\item 
\Hypertarget{main_8h_adaddfcde40df90b23dccb249d7516d1b}\label{main_8h_adaddfcde40df90b23dccb249d7516d1b} 
\#define {\bfseries GYRO\+\_\+\+CS\+\_\+\+Pin}~GPIO\+\_\+\+PIN\+\_\+3
\item 
\Hypertarget{main_8h_a2ce57617b14c3c23cb6b7de4cdc74262}\label{main_8h_a2ce57617b14c3c23cb6b7de4cdc74262} 
\#define {\bfseries GYRO\+\_\+\+CS\+\_\+\+GPIO\+\_\+\+Port}~GPIOC
\item 
\Hypertarget{main_8h_ae7339d2bb9e27f730d643c18fdced94c}\label{main_8h_ae7339d2bb9e27f730d643c18fdced94c} 
\#define {\bfseries ACC\+\_\+\+INT\+\_\+\+Pin}~GPIO\+\_\+\+PIN\+\_\+10
\item 
\Hypertarget{main_8h_a5b80431ce99aa95b36943cb3eccae932}\label{main_8h_a5b80431ce99aa95b36943cb3eccae932} 
\#define {\bfseries ACC\+\_\+\+INT\+\_\+\+GPIO\+\_\+\+Port}~GPIOE
\item 
\Hypertarget{main_8h_aa63b2600698c6c4114f37bc96b6c4265}\label{main_8h_aa63b2600698c6c4114f37bc96b6c4265} 
\#define {\bfseries GYRO\+\_\+\+INT\+\_\+\+Pin}~GPIO\+\_\+\+PIN\+\_\+12
\item 
\Hypertarget{main_8h_af157bd4f4bfabee612ba300c2b69cc09}\label{main_8h_af157bd4f4bfabee612ba300c2b69cc09} 
\#define {\bfseries GYRO\+\_\+\+INT\+\_\+\+GPIO\+\_\+\+Port}~GPIOE
\end{DoxyCompactItemize}
\doxysubsubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
void \mbox{\hyperlink{main_8h_a1730ffe1e560465665eb47d9264826f9}{Error\+\_\+\+Handler}} (void)
\begin{DoxyCompactList}\small\item\em This function is executed in case of error occurrence. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
\+: Header for \doxylink{main_8c}{main.\+c} file. This file contains the common defines of the application. 

\begin{DoxyAttention}{Attention}

\end{DoxyAttention}
Copyright (c) 2024 STMicroelectronics. All rights reserved.

This software is licensed under terms that can be found in the LICENSE file in the root directory of this software component. If no LICENSE file comes with this software, it is provided AS-\/\+IS. 

\label{doc-func-members}
\Hypertarget{main_8h_doc-func-members}
\doxysubsection{Function Documentation}
\Hypertarget{main_8h_a1730ffe1e560465665eb47d9264826f9}\index{main.h@{main.h}!Error\_Handler@{Error\_Handler}}
\index{Error\_Handler@{Error\_Handler}!main.h@{main.h}}
\doxysubsubsection{\texorpdfstring{Error\_Handler()}{Error\_Handler()}}
{\footnotesize\ttfamily \label{main_8h_a1730ffe1e560465665eb47d9264826f9} 
void Error\+\_\+\+Handler (\begin{DoxyParamCaption}\item[{void}]{}{}\end{DoxyParamCaption})}



This function is executed in case of error occurrence. 


\begin{DoxyRetVals}{Return values}
{\em None} & \\
\hline
\end{DoxyRetVals}
